package veating.action;

import java.util.List;

import veating.bean.City;
import veating.dao.factory.DaoFactory;

import com.opensymphony.xwork2.ActionSupport;

public class CityAction extends ActionSupport{
	public List<City> list;
	
	private String url;
	
	
		public String list(){
				
				list = DaoFactory.getCityDaoInstance().findAllCity();
				System.out.println(list);
				url="city.jsp";
				return SUCCESS;
				
			}

}
